/* 
 * File:   CConsoleItem.h
 * Author: ja1e09
 *
 * Created on July 28, 2011, 6:52 PM
 */

#ifndef CCONSOLEITEM_H
#define	CCONSOLEITEM_H

#include "Global.h"
#include "Definitions.h"

class CConsoleItem
{
public:
    CConsoleItem();
    CConsoleItem(const int iRank,std::string sMsg);
    CConsoleItem(const CConsoleItem& orig);
    virtual ~CConsoleItem();

    struct tm* GetTS()
    {
        return TStamp;
    };

    std::string GetMsg()
    {
        return sMsg;
    };
    
    int GetRank()
    {
        return iRank;
    }

private:
    struct tm *TStamp;
    std::string sMsg;
    int iRank;

};

#endif	/* CCONSOLEITEM_H */

